package com.oe.code.service;

import com.oe.common.resp.LdmResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("ldm-service-mail")
public interface LdmMailClient {

    @RequestMapping(value = "/sendMail/{email}/{code}",method = RequestMethod.POST)
    public LdmResponse sendMail(@PathVariable("email") String email, @PathVariable("code") String code);
}
